package com.sright.bcard.content.dal.mapper;

import com.sright.bcard.common.service.share.base.dao.BaseMapper;
import com.sright.bcard.content.dal.entity.DataCardVisitNumDO;
import org.apache.ibatis.annotations.Param;

import java.util.Date;

public interface DataCardVisitNumDOMapper extends BaseMapper<DataCardVisitNumDO> {
    DataCardVisitNumDO selectByToday(@Param("cardId") Long cardId, @Param("cardUserId") Long cardUserId, @Param("today") Date today);

    Integer selectSumByDate(@Param("userId") Long userId, @Param("beginDate") Date beginDate);
}